<template>
	<!-- 发布帖子 -->
	<view class="container">
		<view>
			<u-input v-model="value" :type="type" :border="border" placeholder="请输入您要发布的内容" :height="height" :auto-height="autoHeight" />
		</view>
	   	<view>
	   		<u-upload ref="uUpload" :action="action" :auto-upload="false" ></u-upload>
	   		<u-button @click="submit" type="primary">发布</u-button>
	   	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value: '',
				type: 'textarea',
				border: true,
				height: 200,
				autoHeight: true,
				action: 'http://www.example.com/upload',
			}
		},
		methods: {
         submit() {
         				// this.$refs.uUpload.upload();
         			},
		}
	}
</script>

<style>
</style>